function send_Address() {
    var name=document.getElementById("name").value;
    var phoneNumber=document.getElementById("phoneNumber").value;
    var country=document.getElementById("country").value;
    var province=document.getElementById("province").value;
    var city=document.getElementById("city").value;
    var county=document.getElementById("county").value;
    var street=document.getElementById("street").value;
    var address=document.getElementById("address").value;
    $.ajax({
        type:'post',
        async:true,
        dataType:'json',
        url:'http://localhost:8080/addAddress' ,//接口
        data:{"name":name,"phoneNumber":phoneNumber,"country":country,"province":province,
            "city":city,"county":county,"street":street,"address":address},
        success:function (data) {
            if(data.result==1)//与返回值比较，判断
            {
                alert('添加信息成功！');
                window.location.href='Choose_Address.jsp';
            }else{
                alert('添加失败！请仔细核实！')
            }
        }
    });
}